import request from '@/utils/request'

// 用关键词查询获取科室列表
export function getOrganizationList(query) {
  return request({
    url: '/organization/list',
    method: 'get',
    params: query
  })
}

// 根据类型关键字获取用户列表
export function getDoctorList(query) {
  return request({
    url: '/user/list',
    method: 'get',
    params: query
  })
}

// 获取手术列表
export function getOperationList(query) {
  return request({
    url: '/operation/list',
    method: 'get',
    params: query
  })
}

export function getAreaList(query) {
  return request({
    url: '/area/list',
    method: 'get',
    params: query
  })
}
